package com.rabbiter.oes.mapper;

import com.rabbiter.oes.entity.Face;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;

@Mapper
public interface FaceMapper {
    @Select("select * from face")
    List<Face> query();

    @Update("update face set admin_id = #{adminId},face_img =#{faceImg} where face_id =#{faceId}")
    Boolean update(Face face);
}
